package cn.wolfcode.mapper;

import cn.wolfcode.domain.SeckillProduct;

import java.util.List;

/**
 * Created by lanxw
 */
public interface SeckillProductMapper {
    List<SeckillProduct> queryCurrentlySeckillProductList(Integer time);

    int decrStock(Long seckillId);

    int incrStock(Long seckillId);

    int getStockCount(Long seckillId);
}
